// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './main-form-model';

export class Avuechildones_formControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'avuetestname', 'formitem', 'avuechildoneid'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.avuechildoneid;
    }
    set srfkey(value: any) {
        this.$DO.avuechildoneid = value;
    }
    get srfmajortext() {
        return this.$DO.avuechildonename;
    }
    set srfmajortext(value: any) {
        this.$DO.avuechildonename = value;
    }
    get avuetestname() {
        return this.$DO.avuetestname;
    }
    set avuetestname(value: any) {
        this.$DO.avuetestname = value;
    }
    get formitem() {
        return this.$DO.avuechildonename;
    }
    set formitem(value: any) {
        this.$DO.avuechildonename = value;
    }
    get avuechildoneid() {
        return this.$DO.avuechildoneid;
    }
    set avuechildoneid(value: any) {
        this.$DO.avuechildoneid = value;
    }
    // 界面主键标识
    get avuechildone() {
        return this.$DO.avuechildoneid;
    }

    set avuechildone(value: any) {
        this.$DO.avuechildoneid = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof Avuechildones_formControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            avuetestname: this.$DO.avuetestname,
avuechildonename: this.$DO.avuechildonename,
updatedate: this.$DO.updatedate,
avuechildoneid: this.$DO.avuechildoneid,
        }
	}

}